package com.du.web.sample.util;

/**
 * @desc:
 * @author: shuangdu
 * @date: 2021/8/6
 * @since: 1.8
 */
public enum ContentEnum {
    PIC(1, "图片"),
    VIDEO(2, "视频"),
    WORD(3, "WORD文件"),
    PDF(4, "PDF文件"),
    OTHER(-1, "其他");

    private final Integer type;
    private final String msg;

    ContentEnum(Integer type, String msg) {
        this.type = type;
        this.msg = msg;
    }

    public int val() {
        return this.type;
    }
}
